<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CalendarSimple.aspx.cs" Inherits="DNJPanel_Simple" %>

<%@ Register Assembly="Org.Eurekaa.DNJ" Namespace="Org.Eurekaa.DNJ.WebControls" TagPrefix="dnj" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>DNJ Panel Demo</title>
    
    <script type="text/javascript" src="../dnj/js/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../dnj/js/jquery.nyroModal-1.5.0.min.js"></script>
    <script type="text/javascript" src="../dnj/config/DNJResources.axd?conf=jsonmap.config"></script>
  
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <h1>Custom use of DNJ Panel</h1>
    <p>
    This page contains a standard .Net calendar control wrapped into a DNJPanel.<br />
    the DNJ Panel automatically transforms the calendar into an ajax control, no more postbacks :) 
    </p>
        <dnj:DNJPanel ID="DNJPanel1" runat="server">
            <asp:Calendar ID="Calendar1" runat="server" BackColor="White" BorderColor="White"
                BorderWidth="1px" Font-Names="Verdana" Font-Size="9pt" ForeColor="Black" Height="190px"
                NextPrevFormat="FullMonth" Width="350px">
                <SelectedDayStyle BackColor="#333399" ForeColor="White" />
                <TodayDayStyle BackColor="#CCCCCC" />
                <OtherMonthDayStyle ForeColor="#999999" />
                <NextPrevStyle Font-Bold="True" Font-Size="8pt" ForeColor="#333333" VerticalAlign="Bottom" />
                <DayHeaderStyle Font-Bold="True" Font-Size="8pt" />
                <TitleStyle BackColor="White" BorderColor="Black" BorderWidth="4px" Font-Bold="True"
                    Font-Size="12pt" ForeColor="#333399" />
            </asp:Calendar>
        </dnj:DNJPanel>
        &nbsp;</div>
    </form>
</body>
</html>
